/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.employee.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 考勤扣款Entity
 * @author jyangye
 * @version 2018-01-10
 */
public class ViEmpSSetKaoqin extends DataEntity<ViEmpSSetKaoqin> {
	
	private static final long serialVersionUID = 1L;
	private String compId;		// 机构
	private String type;		// 扣款类型
	private Double jine;		// 考勤扣款金额

    private Office comp;
	
	public ViEmpSSetKaoqin() {
		super();
	}

	public ViEmpSSetKaoqin(String id){
		super(id);
	}

    @ExcelField(title="机构", align=2, sort=20)
    public Office getComp() {
        return comp;
    }

    public void setComp(Office comp) {
        this.comp = comp;
    }

	public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}
	
	@Length(min=1, max=32, message="扣款类型长度必须介于 1 和 32 之间")
	@ExcelField(title="扣款类型", align=2, sort=30)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="考勤扣款金额", align=2, sort=40)
	public Double getJine() {
		return jine;
	}

	public void setJine(Double jine) {
		this.jine = jine;
	}
	
}